import { RouteRecordRaw } from 'vue-router';

export default {
  path: '/promotion',
  name: 'promotion',
  redirect: '/promotion/link',
  component: () => import('@/layout/index.vue'),
  meta: {
    title: '推广',
    icon: 'el-icon-share',
    sort: 3
  },
  children: [
    {
      path: '/promotion/link',
      name: 'link',
      component: () => import('@/views/promotion/link/index.vue'),
      meta: {
        title: '链接管理',
        icon: 'el-icon-link'
      }
    }
  ]
} as RouteRecordRaw;
